package io.github.wangtisnruipopo.carscore.enums;

import io.github.wangtisnruipopo.carscore.types.ICode;
import lombok.Getter;

/**
 * <h1>牌面大小</h1>
 * @author wangtianrui
 */
public enum CardValueEnum implements ICode {

    VALUE_A("01", "A"),
    VALUE_2("02", "2"),
    VALUE_3("03", "3"),
    VALUE_4("04", "4"),
    VALUE_5("05", "5"),
    VALUE_6("06", "6"),
    VALUE_7("07", "7"),
    VALUE_8("08", "8"),
    VALUE_9("09", "9"),
    VALUE_10("10", "10"),
    VALUE_J("11", "J"),
    VALUE_Q("12", "Q"),
    VALUE_K("13", "K"),
    VALUE_SMALL_KING("14", "JOKER"),
    VALUE_BIG_KING("15", "JOKER");

    @Getter
    private final String value;
    @Getter
    private final String text;
    CardValueEnum(String value, String text) {
        this.value = value;
        this.text = text;
    }
}
